<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Diagram Viewer</title>
<link rel="stylesheet" href="//aui-cdn.atlassian.com/aui-adg/5.7.1/css/aui.css" media="all">
<script src="../new_common/cac.js" type="text/javascript"></script>
<script src="../onedrive_common/ac.js" type="text/javascript"></script>
<script src="../gdrive_common/gac.js" type="text/javascript"></script>
<style type="text/css">
html, body {
	height:100%;
	overflow:hidden;
}
body {
	font-family:Arial,sans-serif;
	width:100%;
	margin:0;
	background-color: #fff;
	background-image:url(/connect/onedrivejira/spinner.gif);
	background-repeat:no-repeat;
	background-position:center;
}
.connector-add-file {
	float: right;
}
</style>
</head>
<body>
<script type="text/javascript">
// Sets global environment variables
RESOURCE_BASE = '/resources/dia';
STENCIL_PATH = '/stencils';
SHAPES_PATH = '/shapes';
IMAGE_PATH = '/images';

// Overrides browser language with JIRA user language
var lang = AC.getUrlParam('loc', true);

// Language is in the Connect URL
if (lang != null)
{
	var dash = lang.indexOf('-');
	
	if (dash >= 0)
	{
		mxLanguage = lang.substring(0, dash);
	}
}
</script>
<script src="/js/viewer.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../vsdx/importer.js"></script>
<script src="viewerPanel.js" type="text/javascript"></script>
</body>
</html>
